<template>
  <div>
    <van-tabbar v-model="active" route>
      <!-- 注意active想要对应, 地址栏和写的router path地址要一致, link-router不能将父router组件放入 -->
      <van-tabbar-item icon="home-o" :to="{name: 'mArticleLIst'}">首页</van-tabbar-item>
      <van-tabbar-item icon="search" :to="{name: 'mColumns'}">分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o" :to="{name: 'mUser'}">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "VueEleMfootBar",

  data() {
    return {
      active: 0
    };
  },

  mounted() {},

  methods: {},
};
</script>